package a.f.d.a;

import a.d.w;
import a.f.zc;

class eb
  extends db
{
  protected int l;
  protected boolean m;
  protected zc n;
  
  public eb(zc paramzc, int paramInt, boolean paramBoolean)
  {
    this.n = paramzc;
    this.l = paramInt;
    this.m = paramBoolean;
  }
  
  public double c(double paramDouble1, double paramDouble2)
  {
    boolean bool = d.R;
    if (!bool)
    {
      if (this.m)
      {
        if (!bool) {}
        switch (this.l)
        {
        case 0: 
          return this.n.c() * 0.5D - paramDouble1;
        case 1: 
          return this.n.c() * 0.5D + paramDouble2;
        case 2: 
          return this.n.c() * -0.5D + paramDouble1;
        case 3: 
          return this.n.c() * -0.5D - paramDouble2;
        }
        throw new RuntimeException("Cannot be!");
      }
      if (bool) {
        break label169;
      }
    }
    switch (this.l)
    {
    case 0: 
      return this.n.c() * -0.5D + paramDouble1;
    case 1: 
      return this.n.c() * 0.5D + paramDouble2;
    case 2: 
      return this.n.c() * 0.5D - paramDouble1;
    case 3: 
      label169:
      return this.n.c() * -0.5D - paramDouble2;
    }
    throw new RuntimeException("Cannot be!");
  }
  
  public double d(double paramDouble1, double paramDouble2)
  {
    boolean bool = d.R;
    if (!bool)
    {
      if (this.m)
      {
        if (!bool) {}
        switch (this.l)
        {
        case 0: 
          return this.n.d() * -0.5D - paramDouble2;
        case 1: 
          return this.n.d() * 0.5D - paramDouble1;
        case 2: 
          return this.n.d() * 0.5D + paramDouble2;
        case 3: 
          return this.n.d() * -0.5D + paramDouble1;
        }
        throw new RuntimeException("Cannot be!");
      }
      if (bool) {
        break label169;
      }
    }
    switch (this.l)
    {
    case 0: 
      return this.n.d() * -0.5D - paramDouble2;
    case 1: 
      return this.n.d() * -0.5D + paramDouble1;
    case 2: 
      return this.n.d() * 0.5D + paramDouble2;
    case 3: 
      label169:
      return this.n.d() * 0.5D - paramDouble1;
    }
    throw new RuntimeException("Cannot be!");
  }
  
  public w b(double paramDouble1, double paramDouble2)
  {
    return new w(this.n.a() + this.n.c() * 0.5D + c(paramDouble1, paramDouble2), this.n.b() + this.n.d() * 0.5D + d(paramDouble1, paramDouble2));
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.d.a.eb
 * JD-Core Version:    0.7.0.1
 */